home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
examples.arc
/
EXAMPL64.PRO
< prev
next >
Wrap
Text File
|
1986-10-07
|
412b
|
22 lines
/*
This is a sample Turbo Prolog program
that calls C Language routines. See
EXAMPL65.C for more information. Read
the READ64.ME file on this disk for
more information.
*/
global domains
ilist = integer*
ifunc = f(integer)
global predicates
clist(ilist, ifunc) - (i,o) (o,i) language c
goal
clearwindow,
clist([3],X),
write(X), nl,
clist(Y,X),
write(Y), nl.